package com.acme.bankapp.service.bank.listener;

import com.acme.bankapp.domain.bank.client.Client;

/**
 * This class implements {@link ClientRegistrationListener} interface (send email notification when added)
 *
 * @author Alexander Kotov (kotov.alex.22@gmail.com)
 */
public class EmailNotificationListener implements ClientRegistrationListener {
    /**
     * {@inheritDoc}
     */
    @Override
    public void onClientAdded(Client client) {
        System.out.format("Notification email for client %s to be sent%n", client);
    }
}
